import { createStore , combineReducers } from 'redux' ;

import counterReducer from '../features/counter/counterSlice';

const reducers = combineReducers({
  counter: counterReducer , 
  // cart: cartReducer 
});

const store = createStore( reducers );
// 默认导出
export default store;
